package com.wqr.it.ecwdr.vo;

/**
 * @author adinoswang
 *
 */
public class ProxyArgVO extends BaseVO {
	private static final long serialVersionUID = -7676680900904096569L;
	private String ip;
	private String source;
	private String errMsg;
	private int port = -1;
	private boolean used = false;
	private long costTime = 1;

	public ProxyArgVO() {
		super();
	}
	
	public ProxyArgVO(String ip, int port) {
		this();
		this.ip = ip;
		this.port = port;
	}

	public String getIp() {
		return ip;
	}
	public void setIp(String ip) {
		this.ip = ip;
	}
	public int getPort() {
		return port;
	}
	public void setPort(int port) {
		this.port = port;
	}
	public boolean isUsed() {
		return used;
	}
	public void setUsed(boolean used) {
		this.used = used;
	}
	public String getErrMsg() {
		return errMsg;
	}

	public void setErrMsg(String errMsg) {
		this.errMsg = errMsg;
	}

	public String getSource() {
		return source;
	}

	public void setSource(String source) {
		this.source = source;
	}

	public long getCostTime() {
		return costTime;
	}

	public void setCostTime(long costTime) {
		this.costTime = costTime;
	}

	@Override
	public String toString() {
		return "ProxyArgVO [ip=" + ip + ", port=" + port + ", source=" + source + ", used=" + used + "]";
	}
	
}
